package icu.wdtt.service;

import icu.wdtt.model.Authority;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface AuthorityService {

    public Authority get(int aid);

    public List<Authority> getAll();

    public Boolean add(Authority authority);

    public Boolean del(int aid);

    public Boolean update(Authority authority);
}
